package com.tongshu.miaosha.exception;

import com.tongshu.miaosha.result.CodeMsg;
import lombok.Data;

@Data
public class GlobalException extends RuntimeException{
    private CodeMsg codeMsg;
    public GlobalException(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }

}
